package com.cloud.controller.data.login;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyuan
 * @since 2019-06-27
 */
public class User {

    private static final long serialVersionUID = 1L;


    public Long id;

    public Integer staffNo;

    public String userName;

    public String realName;
    /**
     * 年龄
     */
    public Integer age;

    public String wxOpenId;

    public String wxUnionId;

    public String userRole;

    public String userStatus;

    public Integer userAddressId;

    public String nikeName;
    /**
     * 员工手机号
     */
    public String mobile;
    /**
     * 员工邮箱
     */
    public String email;
    /**
     * 员工密码
     */
    public String password;

    public String idCardNo;

    public String avatarUrl;

    public String realAvatarUrl;

    public Date loginTime;

    public Date lastLoginTime;
    /**
     * 用户类型
     */

    public String userType;
    /**
     * 等级
     */
    public Integer level;
    /**
     * 商户号
     */

    public String customerNo;
    /**
     * 身份证类型
     */
    public String cardType;
    /**
     * 所属平台
     */
    public Integer platformNo;
    /**
     * 个性签名
     */
    public String signature;
    /**
     * (0男1女)
     */
    public Integer gender;


    public Date createDate;


    public Date updateDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStaffNo() {
        return staffNo;
    }

    public void setStaffNo(Integer staffNo) {
        this.staffNo = staffNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public String getWxUnionId() {
        return wxUnionId;
    }

    public void setWxUnionId(String wxUnionId) {
        this.wxUnionId = wxUnionId;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(Integer userAddressId) {
        this.userAddressId = userAddressId;
    }

    public String getNikeName() {
        return nikeName;
    }

    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getRealAvatarUrl() {
        return realAvatarUrl;
    }

    public void setRealAvatarUrl(String realAvatarUrl) {
        this.realAvatarUrl = realAvatarUrl;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public Integer getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(Integer platformNo) {
        this.platformNo = platformNo;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }



    @Override
    public String toString() {
        return "User{" +
        ", id=" + id +
        ", staffNo=" + staffNo +
        ", userName=" + userName +
        ", realName=" + realName +
        ", age=" + age +
        ", wxOpenId=" + wxOpenId +
        ", wxUnionId=" + wxUnionId +
        ", userRole=" + userRole +
        ", userStatus=" + userStatus +
        ", userAddressId=" + userAddressId +
        ", nikeName=" + nikeName +
        ", mobile=" + mobile +
        ", email=" + email +
        ", password=" + password +
        ", idCardNo=" + idCardNo +
        ", avatarUrl=" + avatarUrl +
        ", realAvatarUrl=" + realAvatarUrl +
        ", loginTime=" + loginTime +
        ", lastLoginTime=" + lastLoginTime +
        ", userType=" + userType +
        ", level=" + level +
        ", customerNo=" + customerNo +
        ", cardType=" + cardType +
        ", platformNo=" + platformNo +
        ", signature=" + signature +
        ", gender=" + gender +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
